import React from 'react'
import {render} from 'react-dom'
import  App  from   './views'
import  './style/index.less'
import Store from './store'
import {Provider} from 'react-redux'

//  设置全局的语言组件
import locale from 'antd/lib/locale/zh_CN'
//  ConfigProvider组件：为组件提供统一的全局化配置。
import { ConfigProvider } from 'antd'

render(
 /*    <App  {...Store}   />, */
        <ConfigProvider  locale={locale} >
             <Provider  store={Store} >
              <App/>
            </Provider>
        </ConfigProvider>,
    document.getElementById('root')
)